package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 领料单 实体类
 * @author DH-lwl
 * @version 2020年4月14日
 */
public class StockMaterialRequisition extends BaseBusinessEntity{

	private static final long serialVersionUID = 1L;
	
	private Double fPrice;		//实际进价
	private Double fKcSl;		//库存数量
	private String pcid; 		//采购公司编码
	private String gDepot; 		//存货仓库编码
	private String vHJ; 		//货架
	private String vKcLx; 		//库存类型编码
	private String vKcSm; 		//库存说明
	private String htGuid; 		//销售合同GUID
	private String htBid; 		//销售合同单号
	private String cgGuid; 		//采购合同GUID
	private String cgBid; 		//采购合同单号
	private String gcGuid; 		//工程任务GUID
	private String gcBid; 		//工程任务单号
	private String rkGuid; 		//入库GUID
	private String rkBid; 		//入库单号
	private String pUser; 		//采购员工号
	private String pDept; 		//采购部门路径
	private String gProvider; 	//供应商编号
	private String gPName; 		//供应商名称
	private String vPAddress; 	//供应商地址
	private String vPMan; 		//联系人
	private String vPFax; 		//联系人传真
	private String vPTel; 		//联系人电话
	private String bPID; 		//客户BPID
	private String vRaXth; 		//RA系统号
	private String vDdh; 		//订单号
	private Double fSumje; 		//领料金额
	private Double fCgFpSl; 	//采购税率
	private Double fXsFpsl;	 	//销售税率
	private Double fHsMj; 		//含税面价
	private Double fWsMj; 		//未税面价
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date gDate; 		//入库日期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDbRq; 		//调拨日期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dDhRq; 		//预计到货日期
	private Double fTlSl; 		//退料数量(流转)
	private Double fYTlSl; 		//退料数量(保存)
	//虚拟字段
    private String pcidName; 	//采购公司
    private String gDepotName; 	//存货仓库
    private String vKcLxName; 	//库存类型
    private String pUserName; 	//采购员
    private String pDeptName; 	//采购部门
    
	public Double getfPrice() {
		if (fPrice == null) {
			return 0.0;
		}
		return fPrice;
	}
	public void setfPrice(Double fPrice) {
		this.fPrice = fPrice;
	}
	public Double getfKcSl() {
		if (fKcSl == null) {
			return 0.0;
		}
		return fKcSl;
	}
	public void setfKcSl(Double fKcSl) {
		this.fKcSl = fKcSl;
	}
	public String getPcid() {
		return pcid;
	}
	public void setPcid(String pcid) {
		this.pcid = pcid;
	}
	public String getgDepot() {
		return gDepot;
	}
	public void setgDepot(String gDepot) {
		this.gDepot = gDepot;
	}
	public String getvHJ() {
		return vHJ;
	}
	public void setvHJ(String vHJ) {
		this.vHJ = vHJ;
	}
	public String getvKcLx() {
		return vKcLx;
	}
	public void setvKcLx(String vKcLx) {
		this.vKcLx = vKcLx;
	}
	public String getvKcSm() {
		return vKcSm;
	}
	public void setvKcSm(String vKcSm) {
		this.vKcSm = vKcSm;
	}
	public String getHtGuid() {
		return htGuid;
	}
	public void setHtGuid(String htGuid) {
		this.htGuid = htGuid;
	}
	public String getHtBid() {
		return htBid;
	}
	public void setHtBid(String htBid) {
		this.htBid = htBid;
	}
	public String getCgGuid() {
		return cgGuid;
	}
	public void setCgGuid(String cgGuid) {
		this.cgGuid = cgGuid;
	}
	public String getCgBid() {
		return cgBid;
	}
	public void setCgBid(String cgBid) {
		this.cgBid = cgBid;
	}
	public String getGcGuid() {
		return gcGuid;
	}
	public void setGcGuid(String gcGuid) {
		this.gcGuid = gcGuid;
	}
	public String getGcBid() {
		return gcBid;
	}
	public void setGcBid(String gcBid) {
		this.gcBid = gcBid;
	}
	public String getRkGuid() {
		return rkGuid;
	}
	public void setRkGuid(String rkGuid) {
		this.rkGuid = rkGuid;
	}
	public String getRkBid() {
		return rkBid;
	}
	public void setRkBid(String rkBid) {
		this.rkBid = rkBid;
	}
	public String getpUser() {
		return pUser;
	}
	public void setpUser(String pUser) {
		this.pUser = pUser;
	}
	public String getpDept() {
		return pDept;
	}
	public void setpDept(String pDept) {
		this.pDept = pDept;
	}
	public String getgProvider() {
		return gProvider;
	}
	public void setgProvider(String gProvider) {
		this.gProvider = gProvider;
	}
	public String getgPName() {
		return gPName;
	}
	public void setgPName(String gPName) {
		this.gPName = gPName;
	}
	public String getvPAddress() {
		return vPAddress;
	}
	public void setvPAddress(String vPAddress) {
		this.vPAddress = vPAddress;
	}
	public String getvPMan() {
		return vPMan;
	}
	public void setvPMan(String vPMan) {
		this.vPMan = vPMan;
	}
	public String getvPFax() {
		return vPFax;
	}
	public void setvPFax(String vPFax) {
		this.vPFax = vPFax;
	}
	public String getvPTel() {
		return vPTel;
	}
	public void setvPTel(String vPTel) {
		this.vPTel = vPTel;
	}
	public String getbPID() {
		return bPID;
	}
	public void setbPID(String bPID) {
		this.bPID = bPID;
	}
	public String getvRaXth() {
		return vRaXth;
	}
	public void setvRaXth(String vRaXth) {
		this.vRaXth = vRaXth;
	}
	public String getvDdh() {
		return vDdh;
	}
	public void setvDdh(String vDdh) {
		this.vDdh = vDdh;
	}
	public Double getfSumje() {
		if (fSumje == null) {
			return 0.0;
		}
		return fSumje;
	}
	public void setfSumje(Double fSumje) {
		this.fSumje = fSumje;
	}
	public Double getfCgFpSl() {
		if (fCgFpSl == null) {
			return 0.0;
		}
		return fCgFpSl;
	}
	public void setfCgFpSl(Double fCgFpSl) {
		this.fCgFpSl = fCgFpSl;
	}
	public Double getfXsFpsl() {
		if (fXsFpsl == null) {
			return 0.0;
		}
		return fXsFpsl;
	}
	public void setfXsFpsl(Double fXsFpsl) {
		this.fXsFpsl = fXsFpsl;
	}
	public Double getfHsMj() {
		if (fHsMj == null) {
			return 0.0;
		}
		return fHsMj;
	}
	public void setfHsMj(Double fHsMj) {
		this.fHsMj = fHsMj;
	}
	public Double getfWsMj() {
		if (fWsMj == null) {
			return 0.0;
		}
		return fWsMj;
	}
	public void setfWsMj(Double fWsMj) {
		this.fWsMj = fWsMj;
	}
	public Date getgDate() {
		return gDate;
	}
	public void setgDate(Date gDate) {
		this.gDate = gDate;
	}
	public Date getdDbRq() {
		return dDbRq;
	}
	public void setdDbRq(Date dDbRq) {
		this.dDbRq = dDbRq;
	}
	public Date getdDhRq() {
		return dDhRq;
	}
	public void setdDhRq(Date dDhRq) {
		this.dDhRq = dDhRq;
	}
	public Double getfTlSl() {
		if (fTlSl == null) {
			return 0.0;
		}
		return fTlSl;
	}
	public void setfTlSl(Double fTlSl) {
		this.fTlSl = fTlSl;
	}
	public Double getfYTlSl() {
		if (fYTlSl == null) {
			return 0.0;
		}
		return fYTlSl;
	}
	public void setfYTlSl(Double fYTlSl) {
		this.fYTlSl = fYTlSl;
	}
	public String getPcidName() {
		return pcidName;
	}
	public void setPcidName(String pcidName) {
		this.pcidName = pcidName;
	}
	public String getgDepotName() {
		return gDepotName;
	}
	public void setgDepotName(String gDepotName) {
		this.gDepotName = gDepotName;
	}
	public String getvKcLxName() {
		return vKcLxName;
	}
	public void setvKcLxName(String vKcLxName) {
		this.vKcLxName = vKcLxName;
	}
	public String getpUserName() {
		return pUserName;
	}
	public void setpUserName(String pUserName) {
		this.pUserName = pUserName;
	}
	public String getpDeptName() {
		return pDeptName;
	}
	public void setpDeptName(String pDeptName) {
		this.pDeptName = pDeptName;
	}
    
    
}
